package seven.test_7_19;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class Main {
    public static void main(String[] args) {
        LocalDate date = LocalDate.now();
        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd");
        String string = date.format(formatter);
        System.out.println("----------" + string + "-----------");
        System.out.println(string);
    }
}
